
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-msnui-triangle-down"></i>
                    <div class="name">箭头向下</div>
                    <div class="fontclass">.icon-msnui-triangle-down</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-msnui-triangle-up"></i>
                    <div class="name">箭头向上</div>
                    <div class="fontclass">.icon-msnui-triangle-up</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiahao"></i>
                    <div class="name">加号</div>
                    <div class="fontclass">.icon-jiahao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wujiaoxing"></i>
                    <div class="name">五角星</div>
                    <div class="fontclass">.icon-wujiaoxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jianhao"></i>
                    <div class="name">减号</div>
                    <div class="fontclass">.icon-jianhao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fangdajing"></i>
                    <div class="name">放大镜</div>
                    <div class="fontclass">.icon-fangdajing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youjiantou"></i>
                    <div class="name">右箭头</div>
                    <div class="fontclass">.icon-youjiantou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-caidan"></i>
                    <div class="name">菜单</div>
                    <div class="fontclass">.icon-caidan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shanchu"></i>
                    <div class="name">删除</div>
                    <div class="fontclass">.icon-shanchu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fangdajing3"></i>
                    <div class="name">放大镜3</div>
                    <div class="fontclass">.icon-fangdajing3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shanchu1"></i>
                    <div class="name">删除</div>
                    <div class="fontclass">.icon-shanchu1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youjiantou1"></i>
                    <div class="name">左箭头</div>
                    <div class="fontclass">.icon-youjiantou1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wujiaoxingkong"></i>
                    <div class="name">五角星-空</div>
                    <div class="fontclass">.icon-wujiaoxingkong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiantouxia"></i>
                    <div class="name">箭头下</div>
                    <div class="fontclass">.icon-jiantouxia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-magnifier"></i>
                    <div class="name">放大镜</div>
                    <div class="fontclass">.icon-magnifier</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-duigou"></i>
                    <div class="name">对勾</div>
                    <div class="fontclass">.icon-duigou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fork"></i>
                    <div class="name">fork</div>
                    <div class="fontclass">.icon-fork</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fangdajing1"></i>
                    <div class="name">觅来3.0</div>
                    <div class="fontclass">.icon-fangdajing1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shaixuanicon1"></i>
                    <div class="name">筛选icon</div>
                    <div class="fontclass">.icon-shaixuanicon1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-08hongbao"></i>
                    <div class="name">红包</div>
                    <div class="fontclass">.icon-08hongbao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-duigou1"></i>
                    <div class="name">对勾</div>
                    <div class="fontclass">.icon-duigou1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shangjiantou"></i>
                    <div class="name">上箭头</div>
                    <div class="fontclass">.icon-shangjiantou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhuyegouwudai"></i>
                    <div class="name">主页购物袋</div>
                    <div class="fontclass">.icon-zhuyegouwudai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zengpin"></i>
                    <div class="name">赠品</div>
                    <div class="fontclass">.icon-zengpin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wushoucang"></i>
                    <div class="name">无收藏</div>
                    <div class="fontclass">.icon-wushoucang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wujifen"></i>
                    <div class="name">无积分</div>
                    <div class="fontclass">.icon-wujifen</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wudazhequan"></i>
                    <div class="name">无打折券</div>
                    <div class="fontclass">.icon-wudazhequan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mendiangouwudai"></i>
                    <div class="name">门店购物袋</div>
                    <div class="fontclass">.icon-mendiangouwudai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-meiyoudingdan"></i>
                    <div class="name">没有订单</div>
                    <div class="fontclass">.icon-meiyoudingdan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gouwudai"></i>
                    <div class="name">购物袋</div>
                    <div class="fontclass">.icon-gouwudai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-banggo"></i>
                    <div class="name">banggo</div>
                    <div class="fontclass">.icon-banggo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-svip"></i>
                    <div class="name">Svip</div>
                    <div class="fontclass">.icon-svip</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-vip"></i>
                    <div class="name">vip</div>
                    <div class="fontclass">.icon-vip</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-vipe"></i>
                    <div class="name">vip e</div>
                    <div class="fontclass">.icon-vipe</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huidaozhuye"></i>
                    <div class="name">回到主页</div>
                    <div class="fontclass">.icon-huidaozhuye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhuyegeren"></i>
                    <div class="name">主页个人</div>
                    <div class="fontclass">.icon-zhuyegeren</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weibiaoti3"></i>
                    <div class="name">未标题-3</div>
                    <div class="fontclass">.icon-weibiaoti3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shangpin"></i>
                    <div class="name">商品</div>
                    <div class="fontclass">.icon-shangpin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-suoluetu"></i>
                    <div class="name">大列表</div>
                    <div class="fontclass">.icon-suoluetu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liebiao"></i>
                    <div class="name">小列表</div>
                    <div class="fontclass">.icon-liebiao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-2"></i>
                    <div class="name">收起</div>
                    <div class="fontclass">.icon-2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-1"></i>
                    <div class="name">展开</div>
                    <div class="fontclass">.icon-1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kefu1"></i>
                    <div class="name">客服(1)</div>
                    <div class="fontclass">.icon-kefu1</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
